<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>{if isset($SEO['title']) && !empty($SEO['title'])}{$SEO['title']}{/if}{$SEO['site_title']}</title>
<meta name="Robots" content="all" />
<meta name="Googlebot" content="all" />
<meta name="Author" content="内蒙古呼和浩特市第二中学网校" />
<meta name="Copyright" content="内蒙古呼和浩特市第二中学版权所有" />
<meta name="keywords" content="{$SEO['keyword']}">
<meta name="description" content="{$SEO['description']}">
<link href="{CSS_PATH}public.css" rel="stylesheet" type="text/css" />
<link href="{CSS_PATH}category_common.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="{JS_PATH}jquery.min.js"></script>
<script type="text/javascript" src="{JS_PATH}jquery.sGallery.js"></script>
<script type="text/javascript" src="{JS_PATH}search_common.js"></script>
</head>
<body>
{template "content","header_common"}
<div id="page">
<div id="boardbox">
	<div class="crumb">
		<b>当前位置：</b>
		<a href="{siteurl($siteid)}">首页</a><span> > </span>{catpos($catid)} 分类
	</div><!-- css class crumb end -->
	<div class="bk"></div>
	
	<div class="toppage">
		<div class="leftside">
			<div class="col-auto channel-slide">
				{pc:content  action="lists" catid="$catid" order="listorder ASC" thumb="1" num="6"}
				<ul class="thumb">
					{loop $data $k $v}
						<li {if $n==1}class="on" style="margin:0"{/if}><a href="{$v[url]}"><img src="{thumb($v[thumb], 82, 50)}"  alt="{$v[title]}" width="82" height="50" /><div class="icon"></div></a></li>
					{/loop}
				</ul><!-- css class thumb end -->
				<div class="col-auto_img">
					<ul class="photo">
						{loop $data $k $v}
							<li><a href="{$v[url]}" title="{$v[title]}"><img src="{thumb($v[thumb], 450, 290)}" alt="{$v[title]}" /></a></li>
						{/loop}
						</ul>
						<div class="title">
						{loop $data $k $v}
						  <p  {if $n==1}style="display:block"{/if}><strong><a href="{$v[url]}" title="{$v[title]}" class="blue"{title_style($v[style])}>{str_cut($v[title], 36)}</a></strong><br />{str_cut(strip_tags($v[description]), 62)}</p>
						{/loop}
					  </div>
				</div><!-- css class col-auto_img end -->
				{/pc}
			</div><!-- css class col-auto channel-slide end -->
		</div><!-- css class leftside end -->
		
		<div class="rightside">
            <div>
            <a href="http://bbs.2zwx.com/" title="进入答疑空间"><img src="{IMG_PATH}/dykj_01.png" width="200" height="144" title="点击进入答疑空间" /></a>
            <a href="http://www.yy.com/go.html#89119192"><img src="{IMG_PATH}/dykj_02.png" width="200" height="144" title="点击进入语音答疑" /></a> 
            </div>
            <div style=" height:10px; width:100%; border:0;"></div>
			<h3 class="maintitle">
				<span class="sp_r"></span>
				<span class="sp_l"></span>
				<span class="title">频道总排行</span>
			</h3><!-- css class maintitle end -->
			<span class="outbox">
				<span class="datalist">
					{pc:content action="hits" catid="$catid" num="7" order="views DESC" cache="3600"}
					{loop $data $v}
						{if $n==1}
						<span class="imgbox">
							<a href="{$v[url]}" target="_blank"{title_style($v[style])}>
							<img src="{thumb($v[thumb],135,110)}" alt="{$v[title]}" />
							</a>
						</span>
						<ul>
						{else}
							<li><a href="{$v[url]}" target="_blank"{title_style($v[style])}>{str_cut($v[title],50,'...')}</a></li>
						{/if}
					{/loop}
					{if $data}</ul>{/if}
					{/pc}
				</span><!-- css class datalist end -->
				<b></b>
				<h3 class="secondtitle">
					<span class="title">频道本月排行</span>
				</h3>
				<span class="bluebg">
					{pc:content action="hits" catid="$catid" num="7" order="monthviews DESC" cache="3600"}
					{loop $data $v}
						{if $n==1}
						<span class="imgbox">
							<a href="{$v[url]}" target="_blank"{title_style($v[style])}>
							<img src="{thumb($v[thumb],135,110)}" alt="{$v[title]}" />
							</a>
						</span>
						<ul>
						{else}
							<li><a href="{$v[url]}" target="_blank"{title_style($v[style])}>{str_cut($v[title],50,'...')}</a></li>
						{/if}
					{/loop}
					{if $data}</ul>{/if}
					{/pc}
				</span>
				<span class="clear">&nbsp;</span>
			</span><!-- css class outbox end -->
		</div><!-- css class rightside end -->
	</div><!-- css class toppage end -->	
	<div class="d_ad"><script language="javascript" src="{APP_PATH}index.php?m=poster&c=index&a=show_poster&id=15"></script></div>
	
	<div class="secondpage">
	{php $j=1;}
	{loop subcat($catid) $v}
	{php if($v['type']!=0) continue;}
	<span class="seboard{if $j%3!=0} marginr{/if}">
		<h3>
			<span class="sp_r"></span><span class="sp_l"></span>
			<span class="title"><a href="{$v[url]}" class="more">更多>></a>{$v[catname]}</span>
		</h3>
		<span class="outerbox">
			<ul>
				{pc:content action="lists" catid="$v[catid]" num="5" order="id DESC"}
				{loop $data $r}
				<li><a href="{$r[url]}" target="_blank"{title_style($r[style])}>{$r[title]}</a></li>
				{/loop}
				{/pc}
			</ul>
		</span>
	</span><!-- css class seboard marginr end -->
	{$j++}
	{/loop}
	</div><!-- css class secondpage end -->
		
</div><!-- css id boardbox end -->

<script type="text/javascript">
function ChannelSlide(Name,Class){
	$(Name+' ul.photo li').sGallery({
		titleObj:Name+' div.title p',
		thumbObj:Name+' .thumb li',
		thumbNowClass:Class
	});
}
new ChannelSlide(".channel-slide","on",311,260);
</script>

{template "content","footer_cat"}